
package cn.hs.blog.base;

import java.util.List;

public class PageLoaderImpl<T> implements PageLoader<T> {
    
    private int pageNum = 1;
    
    private int numPerPage = 10;
    
    private long countNum = -1;
    
    private boolean isEnd = false;
    
    private List<T> resultList = null;

    
    public List<T> getResultList() {
        return resultList;
    }

    public void setResultList(List<T> resultList) {
        this.resultList = resultList;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getNumPerPage() {
        return numPerPage;
    }

    public void setNumPerPage(int numPerPage) {
        this.numPerPage = numPerPage;
    }

    public long getCountNum() {
        return countNum;
    }

    public void setCountNum(long countNum) {
        this.countNum = countNum;
    }


    public void setIsEnd(boolean isEnd) {
        this.isEnd = isEnd;
    }
    
    public boolean getIsEnd(){
    	return isEnd;
    }
    
    

}
